#pragma once
#include "GLDrawable.h"
class GLBillBoardRender : public GLDrawable
{
	using Super = GLDrawable;

public:
	using Super::Super;

public:
	void					   initVAO();
	void					   updateData();
	void					   paint(QOpenGLShaderProgram* program, const QMatrix4x4& mvpMat);

	void updateSelectedText(const QString& str);

public:
	const RenderDataBillboard& renderDataNormal() const
	{
		return mRenderDataNormal;
	}
	RenderDataBillboard& renderDataNormal()
	{
		return mRenderDataNormal;
	}

private:
private:
	RenderDataBillboard mRenderDataNormal;
	QSize				mCollapsedSize = QSize(300, 36);
};
